﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
using System.Net;

namespace UDPTEST2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        UdpClient m_uc = new UdpClient();

        private void button1_Click(object sender, EventArgs e)
        {
            byte[] bMsg = System.Text.Encoding.Default.GetBytes("T101010101010");


            m_uc.Send(bMsg, bMsg.Length, "tt.logis.com.tw", 18899);



        }
    }
}